<template>
    <div class="header">飞行器在线直播</div>
    <div class="grid-container">
      <div class="grid-item" v-for="(i,index) in 16" :key="index">
        <video autoplay muted loop controls>
          <source src="../assets/Light Leak 08.mp4" />
        </video>
        <div class="grid-text">无人机{{index}}</div>
      </div>
    </div>
  </template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>
.header {
  width: 100%;
  height: 60px;
  background: #fff;
  padding: 16px;
  font-size: 20px;
  font-weight: bold;
  text-align: start;
  color: #000;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 6px;
}

.grid-item {
  text-align: center;
    video {
        width: 100%;
    }
}
</style>
